< previous page page_466 next page >

Page 466
LISTING 17.2. TOPIC2.TXTTHIS IS THE NEXT TEXT FILE.

8694cbadb9b1ef7075903f6f95fc1db2.gif
When you old DOS based computers underwent the change from black & white 
to color displays, many new commands had to be created for the user to 
change these new properties. Then, when Windows was introduced, the 
developer knew that there would be many activities that would be performed 
over and over by the user. The outcome of this knowledge led to the 
creation of a set of Windows dialogs that interfaced with the user. As 
more and more programs were written for Windows, the dialogs in this set 
were copied by many programmers. It was around this time that developers 
started calling them the Common Dialogs.

LISTING 17.3. TOPIC3.TXTTHIS IS THE NEXT TOPIC.

8694cbadb9b1ef7075903f6f95fc1db2.gif
One of the most commonly used functions of the Common Dialog control is 
the ability to select a file to open or specify a file name to save. Both 
the Open and Save As dialog boxes allows the user to specify a drive, 
directory, filename extension, and a filename. If you have been using 
older versions of Visual Basic, then you probably think that the code to 
display the Open dialog is the following:
DlgGetFile.Action =1

LISTING 17.4. TOPIC4.TXTTHIS IS THE NEXT TOPIC.

8694cbadb9b1ef7075903f6f95fc1db2.gif
The actual Common Dialog routines are distributed in a dynamic-link 
library file call Commdlg.dll. The way in which you as the developer 
interact with this library is by using the Common Dialog control. Even 
though this control is used in almost every application that you may 
create, it is not one of the default controls that is displayed in the 
Visual Basic toolbox.

After you finish adding these text files, your document should look like the one shown in Figure 17.5. Each page of text will eventually become a topic in your final help system.

 
< previous page page_466 next page >

If you like this book, buy it!